module Oauth2
  # FLOWY_URL             = 'http://flowy.oopsdata.com'
  FLOWY_URL             = 'localhost'
  # oopsdata
  WEIBO_CLIENT_ID       = "2855748750"
  WEIBO_CLIENT_SECRET   = "3c07d73e3d5f6516c77cbff26ebfba61"
  # WEIBO_CALLBACK_URL  = "http://flowy.oopsdata.net/weibo"
  WEIBO_CALLBACK_URL    = "http://flowy.oopsdata.com/weibo"
  # WEIBO_CALLBACK_URL    = "http://127.0.0.1/weibo"
  WEIBO_ACCESS_URL      = ""


  TENCENT_CLIENT_ID          = "801339408"
  TENCENT_CLIENT_SECRET      = "ecf4dbb8f35f5fb472d911f99cb2fd55"
  TENCENT_CALLBACK_URL       = "http://flowy.oopsdata.com/tencent"

  TENCENT_ACCESS_URL         = "https://open.t.qq.com/cgi-bin/oauth2/authorize?client_id=#{TENCENT_CLIENT_ID}&response_type=code&redirect_uri=#{TENCENT_CALLBACK_URL}"


  # WEIBO_CLIENT_ID     = "486258807"
  # WEIBO_CLIENT_SECRET = "5267cd2eadb15da2a5d8d8bf3e47dbaf"
  # WEIBO_CALLBACK_URL  = "http://127.0.0.1/weibos"

  # WEIBO_CLIENT_ID     = "android"
  # WEIBO_CLIENT_SECRET = "5l0WXnhiY4pJ794KIJ7Rw5F45VXg9sjo"

  WEIBO_EXPIRE_TIME     = 1
  WEIBO_API_LIMITED     = {
    "create_comment" => 60
  }

end